package com.fu.ioc;

import com.fu.ioc.model.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext app= new ClassPathXmlApplicationContext("applicationContext.xml");
        Object save1 = app.getBean("save");
        System.out.println(save1);

    }
}
